<!doctype html>
<html lang="en">

<head>
	<meta charset="utf-8"/>
	<title><?php echo CHtml::encode($this->pageTitle); ?></title>

	<!--                       CSS                       -->
	<!-- Reset Stylesheet -->
	<link rel="stylesheet" href="/css/vinxenter/reset.css" type="text/css" media="screen" />
	<!-- Main Stylesheet -->
	<link rel="stylesheet" href="/css/vinxenter/style.css" type="text/css" media="screen" />
	<!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
	<link rel="stylesheet" href="/css/vinxenter/invalid.css" type="text/css" media="screen" />
	<?php 
	/*
	$cs = Yii::app ()->clientScript;
	$cs->scriptMap = array (			
			'facebox.js' => Yii::app ()->request-> baseUrl . '/pulbic/js/facebox.js' ,
			'jquery.wysiwyg.js' => Yii::app ()->request-> baseUrl . '/pulbic/js/jquery.wysiwyg.js' ,
			'jquery.datePicker.js' => Yii::app ()->request-> baseUrl . '/pulbic/js/jquery.datePicker.js' ,
			'jquery.date.js' => Yii::app ()->request-> baseUrl . '/pulbic/js/jquery.date.js',
			'simpla.jquery.configuration.js' => Yii::app ()->request-> baseUrl . '/pulbic/js/simpla.jquery.configuration.js' 
	)
	;		
	$cs->registerCoreScript ( 'jquery' );
	$cs->registerScriptFile ( 'simpla.jquery.configuration.js' );	
	$cs->registerScriptFile ( 'facebox.js' );
	$cs->registerScriptFile ( 'jquery.datePicker.js' );
	$cs->registerScriptFile ( 'jquery.date.js' );
	*/
	
	?>
	
	<!-- jQuery -->
	<?php
	$cs = Yii::app ()->clientScript;
	$cs->registerCoreScript ( 'jquery' );
	?>
	<!-- jQuery Configuration -->
	<script type="text/javascript" src="/public/js/simpla.jquery.configuration.js"></script>
	<!-- Facebox jQuery Plugin -->
	<script type="text/javascript" src="/public/js/facebox.js"></script>
	<!-- jQuery WYSIWYG Plugin -->
	<script type="text/javascript" src="/public/js/jquery.wysiwyg.js"></script>
	<!-- jQuery Datepicker Plugin -->
	<script type="text/javascript" src="/public/js/jquery.datePicker.js"></script>
	<script type="text/javascript" src="/public/js/jquery.date.js"></script>
	
		
</head>

<body>
<div id="body-wrapper">

	<?php echo $content; ?>

</div>
</body>
</html>
